-- GENERATED SPELL FOR [Hauteur] --


function spell0_17206(pUnit, Event) --@Fire Shield,n/a--
pUnit:FullCastSpellOnTarget(134,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17206', 1000, 1)
end

function spell1_17206(pUnit, Event) --@Flame Shock,n/a--
pUnit:FullCastSpellOnTarget(8050,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17206', 12000, 1)
end

function Sorts_17206(pUnit, Event)
local choix_sorts_17206 = math.random(0, 1)
if choix_sorts_17206 == 0 then
pUnit:RegisterEvent('spell0_17206', 1, 1)
end
if choix_sorts_17206 == 1 then
pUnit:RegisterEvent('spell1_17206', 1, 1)
end
end

function mob17206_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17206', math.random(1500, 3000), 1)
end

function mob17206_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17206_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17206_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17206, 1, 'mob17206_Action')
RegisterUnitEvent(17206, 2, 'mob17206_Leave')
RegisterUnitEvent(17206, 3, 'mob17206_Kill')
RegisterUnitEvent(17206, 4, 'mob17206_Die')
